import request from '@/utils/request'

// //OpenAPI
// //认证，获得访问令牌
// export const genBPMToken = () => request.post('/auth', {
//     clientKey: "vueSystem",
//     clientSecret: "sKUJbGpfX9PmJJJHGe5aHMiYssKQ9kwG"
// })

// //密码验证
// export const validatepassword = params => {
//     const account = params.account
//     return request.post(`/org/user/${account}/validatepassword`, params)
// }

//WebApi登录
export const auth = params => request.post('/bpm/auth', params)


//网站登录
// export const signin = params => request.get('/bpm/auth/signin', {
//     params: {
//         u: params.account,
//         p: params.password
//     }
// })


